﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using System.Web.Http;
using d1Common;
using d1Common.WebController;
using d1Project.Modules.Common.doLog.Services;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace d1Project.Modules.Common.do4A.Controllers.a
{
    /// <summary>
    /// 1．来电弹屏数据推送
    /// </summary>
    [Route("api/test")]
    public class testController : ControllerBase
    {
        protected override DbContext dbContext
        {
            get
            {
                return null;
            }
        }
        private do4ADbContext db = new do4ADbContext();

        [HttpPost]
        public async Task<IHttpActionResult> Post(JObject jobject)
        {
            Res res = new Res();
            JObject jo = JObject.Parse(jobject.ToString());

            var a = 1;

            return Ok(res);
        }
    }
}